--使用方法：直接粘贴到模组环境 "abc"改成角色标签

local Thief = require "components/thief"

local _StealItem = Thief.StealItem
function Thief:StealItem(victim, itemtosteal, attack, ...)
    if victim:HasTag("abc") then
        return false
    end
    return _StealItem(self, victim, itemtosteal, attack, ...)
end